package com.xmin.lecture.manus.agent;

import com.xmin.lecture.manus.tool.ToolResult;
import lombok.extern.slf4j.Slf4j;

@Slf4j
public abstract class ReActAgent extends Agent {

    public abstract boolean think();

    public abstract ToolResult action();

    public ToolResult step(){
        if(!think()){
            log.info("");
        }
        return action();

    }
}
